package org.dromara.system.domain.vo;

import org.dromara.common.excel.annotation.OnlyOne;
import org.dromara.system.domain.SysI18nConfig;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;


/**
 * 国际化配置视图对象 sys_i18n_config
 *
 * @author yilong.fu
 * @date 2024-11-06
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ExcelIgnoreUnannotated
@AutoMapper(target = SysI18nConfig.class)
public class SysI18nConfigVo extends BaseEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 自然主键
     */
    private Long id;

    /**
     * 类型
     */
    @OnlyOne
    @ExcelProperty(value = "类型")
    private String type;

    /**
     * 语言编号
     */
    @OnlyOne
    @ExcelProperty(value = "语言编号")
    private String language;

    /**
     * 编号
     */
    @OnlyOne
    @ExcelProperty(value = "编号")
    private String enCode;

    /**
     * 值
     */
    @ExcelProperty(value = "值")
    private String content;

    /**
     * 排序
     */
    @ExcelProperty(value = "排序")
    private Integer seq;


}
